<div id="actionbar" class="fn-clear">
    <div class="fn-left">
        <button class="button button-blue bar" url="{:url('quan/select',['quan_id' => $quan_id])}" msg="您确认要选择当前好店入住商圏吗？"><i class="iconfont icon-xiangxia5"></i>确认选择好店</button>
    </div>
    <div class="fn-right">
        <form id="form" action="{:url('quan/select')}" method="get">
            <input type="hidden" name="quan_id" value="{$quan_id}">
            <input placeholder="请输入好店名称" class="input w200" type="text" name="keyword" value="{$keyword}" /><input type="submit" value="搜索" class="button button-blue" />
        </form>
    </div>
</div>
<table class="table">
    <thead>
        <tr>
            <th class="w80 fn-tac"><input type="checkbox" onclick="CheckAll(this)"></th>
            <th class="w60 fn-tac"></th>
            <th class="w300">好店名称</th>
            <th>好店地址</th>
            <th class="w160">好店分类</th>
            <th class="w140">联系电话</th>
            <th class="w140">创建时间</th>
        </tr>
    </thead>
    <tbody>
        {foreach $lists as $vo}
        <tr>
            <td class="fn-tac"><input name="ids[]" type="checkbox" value="{$vo.id}"></td>
            <td><img src="{$vo.img}" class="w40" /></td>
            <td><a href="javascript:;" url="{:url('store/review',['id'=>$vo.id])}" class="fn-fb selectID">{$vo.name}</a></td>
            <td>{$vo.address}</td>
            <td>{$vo.cate_name}</td>
            <td>{$vo.telphone}</td>
            <td>{$vo.create_time|date='Y-m-d H:i'}</td>
        </tr>
        {/foreach}
    </tbody>
</table>
<div class="page">{$lists|raw}</div>
<script type="text/javascript">
    Do('base','layer',function(){
        $(".bar").click(function() {
            var url = $(this).attr('url');
            var msg = $(this).attr('msg');
            tools_submit({action:url,msg:msg})
        })
        $(".selectID").win();
    })
</script>